{% extends 'cal/bbase.html' %}
<!-- ... -    display: inline-block
    background-color:gray;
    border: solid 1px black;    padding : 2px;-->
{% block content %}

<style>
    .current, .month{
 
    margin : 3px;
    float:left;
}
</style>


<a href="{% url cal.views.main year|add:'-3' %}">&lt;&lt; Prev</a>
<a href="{% url cal.views.main year|add:'3' %}">Next &gt;&gt;</a>

    {% for year, months in years %}
        <div class="clear"></div>
        <h4>{{ year }}***{{access_level}}</h4>
        {% for month in months %}
            <div class=
            {% if month.current %}"current"{% endif %}
            {% if not month.current %}"month"{% endif %} >
                {% if month.entry %}<b>{% endif %}
                <a href="{% url cal.views.month year month.n %}">{{ month.name }}</a>
                {% if month.entry %}</b>{% endif %}
            </div>

            {% if month.n == 6 %}<br \><br \>{% endif %}
        {% endfor %}
    {% endfor %}
{% endblock %}